<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>驻马店 - 天中福地</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#1E88E5', 
                        accent: '#D84315', 
                        dark: '#263238',
                    },
                    fontFamily: {
                        sans: ['Inter', 'system-ui', 'sans-serif'],
                    }
                }
            }
        }
    </script>
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .carousel-slide {
                flex-shrink: 0;
                width: 100%;
                transition: transform 0.5s ease-in-out;
            }
            .nav-scrolled {
                background-color: rgba(30, 136, 229, 0.95);
                box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            }
            .carousel-indicator {
                width: 10px;
                height: 10px;
                border-radius: 50%;
                background-color: rgba(255, 255, 255, 0.5);
                cursor: pointer;
                transition: background-color 0.3s;
            }
            .carousel-indicator.active {
                background-color: #ffffff;
            }
           
        }
    </style>
</head>
<body class="font-sans text-dark antialiased">
    
    <header class="fixed w-full top-0 z-50 bg-primary text-white shadow-md transition-all duration-300">
        <div class="container mx-auto px-4 py-3">
            <nav class="flex justify-between items-center">
                <a href="#" class="text-xl font-bold">驻马店 - 天中福地</a>
                <div class="hidden md:flex space-x-6">
                    <a href="#home" class="hover:text-accent transition-colors">首页</a>
                    <a href="#carousel" class="hover:text-accent transition-colors">风景</a>
                    <a href="#attractions" class="hover:text-accent transition-colors">景点</a>
                    <a href="#culture" class="hover:text-accent transition-colors">文化</a>
                    <a href="#food" class="hover:text-accent transition-colors">美食</a>
                </div>
                <button class="md:hidden text-white" id="menuBtn">
                    <i class="fa fa-bars text-xl"></i>
                </button>
            </nav>
        </div>
        
        <div id="mobileMenu" class="hidden md:hidden bg-white text-dark shadow-lg">
            <div class="container mx-auto px-4 py-3 space-y-3">
                <a href="#home" class="block py-2 hover:text-primary transition-colors">首页</a>
                <a href="#carousel" class="block py-2 hover:text-primary transition-colors">风景</a>
                <a href="#attractions" class="block py-2 hover:text-primary transition-colors">景点</a>
                <a href="#culture" class="block py-2 hover:text-primary transition-colors">文化</a>
                <a href="#food" class="block py-2 hover:text-primary transition-colors">美食</a>
            </div>
        </div>
    </header>

    <section id="home" class="relative h-screen flex items-center justify-center">
        <div class="absolute inset-0 z-0">
            <img 
                src="https://thumbor.dahe.cn/picture/Z1FpUm1UVWt0bnoyRjIwclI5RU9Bbm5kMDNRPS9odHRwcyUzQS8vbW1iaXoucXBpYy5jbi9tbWJpel9qcGcvckVVYklPcGhpYjkwT2ljVkhGUnd0WGZOaWJBWmpQS1RPaWJ0Z0I3UjBrSng0Ym8zTmJlc2h2cGliMlFoZkN4OUhpY056WW5sM0tacTBCb3hqUHJqUmFucE1SaWFnLzY0MCUzRnd4X2ZtdCUzRGpwZWc=" 
                alt="驻马店全景" 
                class="w-full h-full object-cover"
                loading="lazy"
            >
            <div class="absolute inset-0 bg-dark/50"></div>
        </div>
        <div class="container mx-auto px-4 z-10 text-center">
            <h1 class="text-[clamp(2rem,5vw,3.5rem)] font-bold text-white mb-6">天中福地 · 驻马店</h1>
            <p class="text-[clamp(1rem,2vw,1.25rem)] text-white/90 max-w-2xl mx-auto mb-8">
                豫中腹地，天下最中
            </p>
            <a href="#carousel" class="inline-block px-6 py-3 bg-accent text-white rounded-full hover:bg-accent/90 transition-colors shadow-lg">
                探索驻马店
            </a>
        </div>
    </section>

   
    <section id="carousel" class="py-16 bg-gray-50">
        <div class="container mx-auto px-4">
            <h2 class="text-3xl font-bold text-center mb-12">驻马店风光</h2>
            <div class="relative max-w-5xl mx-auto overflow-hidden rounded-xl shadow-xl">
                <div id="carouselContainer" class="flex">
                    <div class="carousel-slide">
                        <div class="relative h-[500px] md:h-[600px]">
                            <img src="https://ts1.tc.mm.bing.net/th/id/R-C.a574a6b10c7b41167f290f5d457ae5a9?rik=sAliicnZbBMBTA&riu=http%3a%2f%2fupload.zmdnews.cn%2f2021%2f0524%2f1621841487501.jpg&ehk=7O7oPHQvSn7OwDpb8VGBuJB2ISp3BA3PGdno1b707Nc%3d&risl=&pid=ImgRaw&r=0&sres=1&sresct=1" alt="qiao" class="w-full h-full object-cover">
                            <div class="absolute inset-0 bg-gradient-to-t from-dark/70 to-transparent flex items-end">
                                <div class="p-6 md:p-8 text-white">
                                    
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="carousel-slide">
                        <div class="relative h-[500px] md:h-[600px]">
                            <img src="https://file.dahe.cn/image/jpeg/20200821/1597967880731805.jpg?imageMogr2/thumbnail/960%3E" alt="皇家驿站" class="w-full h-full object-cover">
                            <div class="absolute inset-0 bg-gradient-to-t from-dark/70 to-transparent flex items-end">
                                <div class="p-6 md:p-8 text-white">
                                    
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="carousel-slide">
                        <div class="relative h-[500px] md:h-[600px]">
                            <img src="https://img1.qunarzz.com/travel/poi/1808/cd/aa5948799ca7737.png_r_640x640_89c7a5cc.png" alt="嵖岈山" class="w-full h-full object-cover">
                            <div class="absolute inset-0 bg-gradient-to-t from-dark/70 to-transparent flex items-end">
                                <div class="p-6 md:p-8 text-white">
                                   
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="carousel-slide">
                        <div class="relative h-[500px] md:h-[600px]">
                            <img src="https://tse3-mm.cn.bing.net/th/id/OIP-C.xTlpbUfhN__KHHrXn3PmeQHaE7?rs=1&pid=ImgDetMain&cb=idpwebpc1" alt="夜间" class="w-full h-full object-cover">
                            <div class="absolute inset-0 bg-gradient-to-t from-dark/70 to-transparent flex items-end">
                                <div class="p-6 md:p-8 text-white">
                                    
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                
                <button id="prevBtn" class="absolute left-4 top-1/2 -translate-y-1/2 bg-dark/50 hover:bg-dark text-white w-10 h-10 rounded-full flex items-center justify-center transition-colors z-10">
                    <i class="fa fa-chevron-left"></i>
                </button>
                <button id="nextBtn" class="absolute right-4 top-1/2 -translate-y-1/2 bg-dark/50 hover:bg-dark text-white w-10 h-10 rounded-full flex items-center justify-center transition-colors z-10">
                    <i class="fa fa-chevron-right"></i>
                </button>
                
               
                <div class="absolute bottom-4 left-1/2 -translate-x-1/2 flex space-x-3 z-10">
                    <div class="carousel-indicator active" data-index="0"></div>
                    <div class="carousel-indicator" data-index="1"></div>
                    <div class="carousel-indicator" data-index="2"></div>
                    <div class="carousel-indicator" data-index="3"></div>
                </div>
            </div>
        </div>
    </section>

    <section id="attractions" class="py-16 bg-white">
        <div class="container mx-auto px-4">
            <h2 class="text-3xl font-bold text-center mb-12">驻马店景点</h2>
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
                <div class="bg-white rounded-lg shadow-md overflow-hidden hover:shadow-xl transition-shadow group">
                    <div class="relative overflow-hidden">
                        <img src="https://ts1.tc.mm.bing.net/th/id/R-C.fafd0de5872b5a3355e7a5c0d3fd0120?rik=0f9XiMyi%2fsa67Q&riu=http%3a%2f%2fw.xx-trip.com%2fjingdianImages%2f20201218115249848_538.JPG&ehk=UYdljgaMF81dCUwgrFgUjQiemr%2bzvXOlxsXxLFeoZxg%3d&risl=&pid=ImgRaw&r=0" alt="嵖岈山" class="w-full h-48 object-cover group-hover:scale-105 transition-transform duration-500">
                    </div>
                    <div class="p-6">
                        <h3 class="text-xl font-bold mb-2">嵖岈山</h3>
                        <p class="text-dark/70">国家5A级景区，《西游记》外景拍摄地，被誉为"中原盆景"。</p>
                    </div>
                </div>
                <div class="bg-white rounded-lg shadow-md overflow-hidden hover:shadow-xl transition-shadow group">
                    <div class="relative overflow-hidden">
                        <img src="https://img2.gujianchina.cn/201812/20/142619966876.png" alt="南海禅寺" class="w-full h-48 object-cover group-hover:scale-105 transition-transform duration-500">
                    </div>
                    <div class="p-6">
                        <h3 class="text-xl font-bold mb-2">南海禅寺</h3>
                        <p class="text-dark/70">亚洲最大的佛教寺院之一，建筑风格独特，庄严肃穆。</p>
                    </div>
                </div>
                <div class="bg-white rounded-lg shadow-md overflow-hidden hover:shadow-xl transition-shadow group">
                    <div class="relative overflow-hidden">
                        <img src="https://ts1.tc.mm.bing.net/th/id/R-C.6daa765ec17627bf79410a583250c861?rik=I75uqVfJxpdcTQ&riu=http%3a%2f%2fn.sinaimg.cn%2fsinacn04%2f275%2fw640h435%2f20180901%2fade1-hinpmnr0449260.jpg&ehk=Uyvl2zgRqKzv2p0czhmFSMpDUHh2Jqufy1kvRxjFi3E%3d&risl=&pid=ImgRaw&r=0" alt="老乐山" class="w-full h-48 object-cover group-hover:scale-105 transition-transform duration-500">
                    </div>
                    <div class="p-6">
                        <h3 class="text-xl font-bold mb-2">老乐山</h3>
                        <p class="text-dark/70">生态旅游胜地，森林覆盖率高，空气清新，适合休闲度假。</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <section id="culture" class="py-16 bg-light">
        <div class="container mx-auto px-4">
            <h2 class="text-3xl font-bold text-center mb-12">特色文化</h2>
            <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
                <div class="bg-white p-8 rounded-lg shadow-md text-center hover:shadow-xl transition-shadow">
                    <div class="w-16 h-16 bg-primary/10 rounded-full flex items-center justify-center mx-auto mb-4">
                        <i class="fa fa-book text-primary text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-2">盘古文化</h3>
                    <p class="text-dark/70">驻马店是盘古文化的发源地，传说盘古开天辟地的故事就发生在这里。</p>
                </div>
                <div class="bg-white p-8 rounded-lg shadow-md text-center hover:shadow-xl transition-shadow">
                    <div class="w-16 h-16 bg-primary/10 rounded-full flex items-center justify-center mx-auto mb-4">
                        <i class="fa fa-drum text-primary text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-2">天中麦草画</h3>
                    <p class="text-dark/70">驻马店传统手工艺，以麦秆为材料，制作精美画卷，被誉为"中华一绝"。</p>
                </div>
                <div class="bg-white p-8 rounded-lg shadow-md text-center hover:shadow-xl transition-shadow">
                    <div class="w-16 h-16 bg-primary/10 rounded-full flex items-center justify-center mx-auto mb-4">
                        <i class="fa fa-university text-primary text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-2">重阳文化</h3>
                    <p class="text-dark/70">驻马店上蔡县是中国重阳文化之乡，有着悠久的重阳节传统。</p>
                </div>
            </div>
        </div>
    </section>

    <section id="food" class="py-16 bg-white">
        <div class="container mx-auto px-4">
            <h2 class="text-3xl font-bold text-center mb-12">驻马店美食</h2>
            <div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-4 gap-6">
                <div class="bg-white rounded-lg shadow-md overflow-hidden hover:shadow-xl transition-shadow group">
                    <div class="relative overflow-hidden">
                        <img src="https://ts1.tc.mm.bing.net/th/id/R-C.41c267fece30125a0e364db328d63b26?rik=PEVwlRw6iG%2bUzQ&riu=http%3a%2f%2fn.sinaimg.cn%2fsinacn20101%2f100%2fw550h350%2f20190104%2fb7df-hqzxptp3260760.jpg&ehk=I2xTAxJib7c5mP4NPZEVoRctMHHNBnHGB%2f%2fHL0Gtqog%3d&risl=&pid=ImgRaw&r=0" alt="确山板栗" class="w-full h-48 object-cover group-hover:scale-105 transition-transform duration-500">
                    </div>
                    <div class="p-4">
                        <h3 class="font-bold">确山板栗</h3>
                        <p class="text-sm text-dark/70">颗粒饱满，香甜可口，营养丰富</p>
                    </div>
                </div>
                <div class="bg-white rounded-lg shadow-md overflow-hidden hover:shadow-xl transition-shadow group">
                    <div class="relative overflow-hidden">
                        <img src="https://img95.699pic.com/photo/50248/4163.jpg_wh860.jpg" alt="确山凉粉" class="w-full h-48 object-cover group-hover:scale-105 transition-transform duration-500">
                    </div>
                    <div class="p-4">
                        <h3 class="font-bold">确山凉粉</h3>
                        <p class="text-sm text-dark/70">酸辣爽滑，夏季消暑佳品</p>
                    </div>
                </div>
                <div class="bg-white rounded-lg shadow-md overflow-hidden hover:shadow-xl transition-shadow group">
                    <div class="relative overflow-hidden">
                        <img src="https://file.dahe.cn/Fi0IGOtPfaAuR5VSpEKH48s_P6gG?imageMogr2/thumbnail/600%3E" alt="塔桥猪蹄" class="w-full h-48 object-cover group-hover:scale-105 transition-transform duration-500">
                    </div>
                    <div class="p-4">
                        <h3 class="font-bold">塔桥猪蹄</h3>
                        <p class="text-sm text-dark/70">秘制卤料慢炖，胶质丰富，酥烂脱骨</p>
                    </div>
                </div>
                <div class="bg-white rounded-lg shadow-md overflow-hidden hover:shadow-xl transition-shadow group">
                    <div class="relative overflow-hidden">
                        <img src="https://tse1-mm.cn.bing.net/th/id/OIP-C.8raZQ-Kx2QH6FiXJ5KCSewHaHa?rs=1&pid=ImgDetMain&cb=idpwebpc1" alt="平舆白芝麻" class="w-full h-48 object-cover group-hover:scale-105 transition-transform duration-500">
                    </div>
                    <div class="p-4">
                        <h3 class="font-bold">平舆白芝麻</h3>
                        <p class="text-sm text-dark/70">颗粒饱满，含油量高，品质优良</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <footer class="bg-dark text-white py-12">
        <div class="container mx-auto px-4">
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
                <div>
                    <h3 class="text-xl font-bold mb-4">天中福地 · 驻马店</h3>
                    <p class="text-white/70">感受文化瑰丽，探索千年驿站之美</p>
                </div>
                <div>
                    <h4 class="font-bold mb-4">快速链接</h4>
                    <ul class="space-y-2">
                        <li><a href="#home" class="text-white/70 hover:text-white">首页</a></li>
                        <li><a href="#carousel" class="text-white/70 hover:text-white">风景</a></li>
                        <li><a href="#attractions" class="text-white/70 hover:text-white">景点</a></li>
                        <li><a href="#culture" class="text-white/70 hover:text-white">文化</a></li>
                        <li><a href="#food" class="text-white/70 hover:text-white">美食</a></li>
                    </ul>
                </div>
                <div>
                    <h4 class="font-bold mb-4">联系我们</h4>
                    <ul class="space-y-2">
                        <li class="flex items-center">
                            <i class="fa fa-map-marker mr-3"></i>
                            <span class="text-white/70">中国 河南省 驻马店市</span>
                        </li>
                        <li class="flex items-center">
                            <i class="fa fa-globe mr-3"></i>
                            <span class="text-white/70">www.zhumadian.gov.cn</span>
                        </li>
                    </ul>
                </div>
                <div>
                    <h4 class="font-bold mb-4">关注我们</h4>
                    <div class="flex space-x-4">
                        <a href="#" class="text-white/70 hover:text-white">
                            <i class="fa fa-weixin text-xl"></i>
                        </a>
                        <a href="#" class="text-white/70 hover:text-white">
                            <i class="fa fa-weibo text-xl"></i>
                        </a>
                        <a href="#" class="text-white/70 hover:text-white">
                            <i class="fa fa-instagram text-xl"></i>
                        </a>
                    </div>
                </div>
            </div>
            <div class="border-t border-white/10 mt-8 pt-8 text-center text-white/50 text-sm">
                <a href="https://www.zhumadian.gov.cn/" target="_blank" style="color: white; text-decoration: none; " 
                onmouseover="this.style.color='red'" onmouseout="this.style.color='white'"><i>详情请点击这里，深入了解美丽天中</i></a>
            </div>
        </div>
    </footer>

    <script>
       
        const menuBtn = document.getElementById('menuBtn');
        const mobileMenu = document.getElementById('mobileMenu');
        
        menuBtn.addEventListener('click', () => {
            mobileMenu.classList.toggle('hidden');
        });
        
       
        const header = document.querySelector('header');
        window.addEventListener('scroll', () => {
            if (window.scrollY > 50) {
                header.classList.add('nav-scrolled');
            } else {
                header.classList.remove('nav-scrolled');
            }
        });
        
       
        const carouselContainer = document.getElementById('carouselContainer');
        const slides = document.querySelectorAll('.carousel-slide');
        const prevBtn = document.getElementById('prevBtn');
        const nextBtn = document.getElementById('nextBtn');
        const indicators = document.querySelectorAll('.carousel-indicator');
        
        let currentIndex = 0;
        const slideCount = slides.length;
        
       
        function initCarousel() {
            updateCarousel();
            
           
            let interval = setInterval(nextSlide, 5000);
            
            
            carouselContainer.addEventListener('mouseenter', () => {
                clearInterval(interval);
            });
            
            
            carouselContainer.addEventListener('mouseleave', () => {
                interval = setInterval(nextSlide, 5000);
            });
            
           
            prevBtn.addEventListener('click', () => {
                prevSlide();
            });
            
            
            nextBtn.addEventListener('click', () => {
                nextSlide();
            });
            
            
            indicators.forEach(indicator => {
                indicator.addEventListener('click', () => {
                    const index = parseInt(indicator.getAttribute('data-index'));
                    goToSlide(index);
                });
            });
        }
        
        
        function updateCarousel() {
            
            carouselContainer.style.transform = `translateX(-${currentIndex * 100}%)`;
            
            
            indicators.forEach((indicator, index) => {
                if (index === currentIndex) {
                    indicator.classList.add('active');
                } else {
                    indicator.classList.remove('active');
                }
            });
        }
        
       
        function nextSlide() {
            currentIndex = (currentIndex + 1) % slideCount;
            updateCarousel();
        }
        
        
        function prevSlide() {
            currentIndex = (currentIndex - 1 + slideCount) % slideCount;
            updateCarousel();
        }
        
        
        function goToSlide(index) {
            currentIndex = index;
            updateCarousel();
        }
        
        
        document.querySelectorAll('a[href^="#"]').forEach(anchor => {
            anchor.addEventListener('click', function(e) {
                e.preventDefault();
                
               
                mobileMenu.classList.add('hidden');
                
                const targetId = this.getAttribute('href');
                const targetElement = document.querySelector(targetId);
                
                if (targetElement) {
                    window.scrollTo({
                        top: targetElement.offsetTop - 80, 
                        behavior: 'smooth'
                    });
                }
            });
        });
        
        
        window.addEventListener('DOMContentLoaded', initCarousel);
    </script>
</body>
</html>